from counterpoint.models import ForumGroup, Forum, Post, ForumUser
from django.contrib import admin


class ForumAdmin(admin.ModelAdmin):
    fields = ('title', 'description', 'parent_group', 'ordering', )
    list_display = ('title', 'description', 'parent_group', )


class PostAdmin(admin.ModelAdmin):
    list_display = ('__unicode__', 'posted', 'parent_post', )


admin.site.register(ForumGroup)
admin.site.register(Forum, ForumAdmin)
admin.site.register(Post, PostAdmin)
admin.site.register(ForumUser)
